﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace jindong
{
    public class Warehouse
    {
        /// <summary>
        /// 仓库编号
        /// </summary>
        [Key]
        [Column]
        public int warehouse_id { get; set; }

        [Column]
        /// <summary>
        /// 仓库地址
        /// </summary>
        public string? location { get; set; }

        [Column]
        /// <summary>
        /// 最⼤库存容量
        /// </summary>
        public int capacity { get; set; }

    }
}
